<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'createTicket.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <center><font size="6">退票请求</font></center>
<table align="center" width="60%">
<tr>
<td>航班id</td>
<td>日期</td>
<td>乘机人</td>
<td>操作</td>
</tr>
  <s:if test="#request.tlist.size!=0">
<s:iterator value="tlist">
<tr>
<td>${flightId}</td>
<td>${date}</td>
<td>${hname}</td>
<td><a href="ticketaction!tp.action?sid=${soldId }">退票</a></td>
</tr>
</s:iterator>
</s:if>
</table>
<s:else>
<center><font color="red" size="8">所有的退票请求已经处理完成！</font></center>
</s:else>
  </body>
</html>
